package com.lippeng.taohua.db.page;

import java.util.List;

import com.lippeng.taohua.db.domain.IDomain;

/**
 * This is the parameter of Page
 * 
 * @author lippeng
 * 
 */
public class Page {
	private int total;
	private int pagesize;
	private int pagetotal;
	private int page;
	private int firstpage;
	private int lastpage;
	private int prevpage;
	private int nextpage;
	private List<IDomain> dataList;

	/**
	 * Getter and Setter
	 */

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getPagesize() {
		return pagesize;
	}

	public void setPagesize(int pagesize) {
		this.pagesize = pagesize;
	}

	public int getPagetotal() {
		return pagetotal;
	}

	public void setPagetotal(int pagetotal) {
		this.pagetotal = pagetotal;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getFirstpage() {
		return firstpage;
	}

	public void setFirstpage(int firstpage) {
		this.firstpage = firstpage;
	}

	public int getLastpage() {
		return lastpage;
	}

	public void setLastpage(int lastpage) {
		this.lastpage = lastpage;
	}

	public int getPrevpage() {
		return prevpage;
	}

	public void setPrevpage(int prevpage) {
		this.prevpage = prevpage;
	}

	public int getNextpage() {
		return nextpage;
	}

	public void setNextpage(int nextpage) {
		this.nextpage = nextpage;
	}

	public void setDataList(List<IDomain> dataList) {
		this.dataList = dataList;
	}

	public List<IDomain> getDataList() {
		return dataList;
	}

}
